package com.hunttown.mes.impl;

import com.hunttown.mes.rpc.api.AHelpRpcService;
import com.hunttown.mes.service.AHelpService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @title:
 * @author: wangjunfu
 * @date: 2021年02月27日 11:10
 * @description:
 */
@Service
public class AHelpRpcServiceImpl implements AHelpRpcService {
    private final Logger logger = LoggerFactory.getLogger(AHelpRpcServiceImpl.class);

    private final AHelpService aHelpService;

    @Autowired
    public AHelpRpcServiceImpl(AHelpService aHelpService) {
        this.aHelpService = aHelpService;
    }

    @Override
    public Integer getEnterpriseId() {
        return aHelpService.getEnterpriseId();
    }
}
